package com.nanhai.buddhist.college.module.study.convert.studyevaluation;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.studyevaluation.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.studyevaluation.StudyEvaluationDO;

/**
 * 学生评价 Convert
 *
 * @author AKai
 */
@Mapper
public interface StudyEvaluationConvert {

    StudyEvaluationConvert INSTANCE = Mappers.getMapper(StudyEvaluationConvert.class);

    StudyEvaluationDO convert(StudyEvaluationCreateReqVO bean);

    StudyEvaluationDO convert(StudyEvaluationUpdateReqVO bean);

    StudyEvaluationRespVO convert(StudyEvaluationDO bean);

    List<StudyEvaluationRespVO> convertList(List<StudyEvaluationDO> list);

    PageResult<StudyEvaluationRespVO> convertPage(PageResult<StudyEvaluationDO> page);

    List<StudyEvaluationExcelVO> convertList02(List<StudyEvaluationDO> list);

}
